home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The School House•
/
Memory v2.1 ••••
/
Memory 2.1
/
Memory 2.1.rsrc
/
CODE_1.txt
< prev
next >
Wrap
Text File
|
1987-05-10
|
86KB
|
1,563 lines
# near model CODE resource
# jump table entries: 0-32 (33 of them)
export_0:
00000000 4EED 023A jmp [A5 + 0x23A /* export_67 */]
export_32:
00000004 4E56 FFF8 link A6, -0x0008
00000008 2F2E 000C move.l -[A7], [A6 + 0xC]
0000000C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000010 486E FFF8 pea.l [A6 - 0x8]
00000014 A867 syscall LongMul
00000016 202E FFF8 move.l D0, [A6 - 0x8]
0000001A 222E FFFC move.l D1, [A6 - 0x4]
0000001E 2D41 0010 move.l [A6 + 0x10], D1
00000022 4E5E unlink A6
00000024 225F movea.l A1, [A7]+
00000026 508F addq.l A7, 8
00000028 4ED1 jmp [A1]
export_31:
0000002A 4EBA 0026 jsr [PC + 0x26 /* 00000052 */]
0000002E 2D43 0010 move.l [A6 + 0x10], D3
00000032 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+
00000036 4E5E unlink A6
00000038 225F movea.l A1, [A7]+
0000003A 508F addq.l A7, 8
0000003C 4ED1 jmp [A1]
export_30:
0000003E 4EBA 0012 jsr [PC + 0x12 /* 00000052 */]
00000042 2D40 0010 move.l [A6 + 0x10], D0
00000046 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+
0000004A 4E5E unlink A6
0000004C 225F movea.l A1, [A7]+
0000004E 508F addq.l A7, 8
00000050 4ED1 jmp [A1]
fn00000052:
00000052 225F movea.l A1, [A7]+
00000054 4E56 0000 link A6, 0
00000058 48E7 1E00 movem.l -[A7], D3,D4,D5,D6
0000005C 4280 clr.l D0
0000005E 222E 000C move.l D1, [A6 + 0xC]
00000062 5BC5 smi D5
00000064 6A02 bpl +0x4 /* 00000068 */
00000066 4481 neg.l D1
label00000068:
00000068 242E 0008 move.l D2, [A6 + 0x8]
0000006C 5BC6 smi D6
0000006E 6A02 bpl +0x4 /* 00000072 */
00000070 4482 neg.l D2
label00000072:
00000072 4283 clr.l D3
00000074 383C 001F move.w D4, 0x1F
label00000078:
00000078 E38B lsl D3, 1
0000007A E389 lsl D1, 1
0000007C E390 roxl D0, 1
0000007E 9082 sub.l D0, D2
00000080 6B06 bmi +0x8 /* 00000088 */
00000082 08C3 0000 bset.b D3, 0x0
00000086 6002 bra +0x4 /* 0000008A */
label00000088:
00000088 D082 add.l D0, D2
label0000008A:
0000008A 51CC FFEC dbf D4, -0x16 /* 00000078 */
0000008E 4A05 tst.b D5
00000090 6702 beq +0x4 /* 00000094 */
00000092 4480 neg.l D0
label00000094:
00000094 BB06 xor.b D6, D5
00000096 6702 beq +0x4 /* 0000009A */
00000098 4483 neg.l D3
label0000009A:
0000009A 4ED1 jmp [A1]
export_29:
0000009C 241F move.l D2, [A7]+
0000009E 225F movea.l A1, [A7]+
000000A0 321F move.w D1, [A7]+
000000A2 205F movea.l A0, [A7]+
000000A4 301F move.w D0, [A7]+
000000A6 2F02 move.l -[A7], D2
000000A8 3400 move.w D2, D0
000000AA B041 cmp.w D0, D1
000000AC 6F02 ble +0x4 /* 000000B0 */
000000AE 3401 move.w D2, D1
label000000B0:
000000B0 5342 subq.w D2, 1
000000B2 6D08 blt +0xA /* 000000BC */
label000000B4:
000000B4 B109 cmpm.b [A0]+, [A1]+
000000B6 6606 bne +0x8 /* 000000BE */
000000B8 51CA FFFA dbf D2, -0x8 /* 000000B4 */
label000000BC:
000000BC B041 cmp.w D0, D1
label000000BE:
000000BE 4E75 rts
export_28:
000000C0 302F 0004 move.w D0, [A7 + 0x4]
000000C4 E548 lsl D0.w, 2
000000C6 226F 0006 movea.l A1, [A7 + 0x6]
000000CA 5249 addq.w A1, 1
000000CC 4202 clr.b D2
label000000CE:
000000CE 2077 0006 movea.l A0, [A7 + D0.w + 0x6]
000000D2 4241 clr.w D1
000000D4 1218 move.b D1, [A0]+
000000D6 670A beq +0xC /* 000000E2 */
000000D8 D401 add.b D2, D1
000000DA 5341 subq.w D1, 1
label000000DC:
000000DC 12D8 move.b [A1]+, [A0]+
000000DE 51C9 FFFC dbf D1, -0x6 /* 000000DC */
label000000E2:
000000E2 5900 subq.b D0, 4
000000E4 66E8 bne -0x16 /* 000000CE */
000000E6 205F movea.l A0, [A7]+
000000E8 301F move.w D0, [A7]+
000000EA 225F movea.l A1, [A7]+
000000EC 1282 move.b [A1], D2
000000EE E548 lsl D0.w, 2
000000F0 DEC0 add.w A7, D0
000000F2 4ED0 jmp [A0]
export_27:
000000F4 206F 0008 movea.l A0, [A7 + 0x8]
000000F8 226F 000C movea.l A1, [A7 + 0xC]
000000FC 302F 0004 move.w D0, [A7 + 0x4]
00000100 6F2C ble +0x2E /* 0000012E */
00000102 322F 0006 move.w D1, [A7 + 0x6]
00000106 6F26 ble +0x28 /* 0000012E */
00000108 4242 clr.w D2
0000010A 1410 move.b D2, [A0]
0000010C B441 cmp.w D2, D1
0000010E 6D1E blt +0x20 /* 0000012E */
00000110 41F0 1000 lea.l A0, [A0 + D1.w]
00000114 D240 add.w D1, D0
00000116 B441 cmp.w D2, D1
00000118 6C08 bge +0xA /* 00000122 */
0000011A 3002 move.w D0, D2
0000011C 906F 0006 sub.w D0, [A7 + 0x6]
00000120 5240 addq.w D0, 1
label00000122:
00000122 12C0 move.b [A1]+, D0
00000124 5340 subq.w D0, 1
label00000126:
00000126 12D8 move.b [A1]+, [A0]+
00000128 51C8 FFFC dbf D0, -0x6 /* 00000126 */
0000012C 6002 bra +0x4 /* 00000130 */
label0000012E:
0000012E 4211 clr.b [A1]
label00000130:
00000130 225F movea.l A1, [A7]+
00000132 508F addq.l A7, 8
00000134 4ED1 jmp [A1]
00000136 225F movea.l A1, [A7]+
00000138 201F move.l D0, [A7]+
0000013A A04C syscall CompactMem
0000013C 2E80 move.l [A7], D0
0000013E 4E71 nop
label00000140:
00000140 7000 moveq.l D0, 0x00
label00000142:
00000142 2F09 move.l -[A7], A1
label00000144:
00000144 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00000148 4E75 rts
0000014A 7000 moveq.l D0, 0x00
0000014C 60F6 bra -0x8 /* 00000144 */
export_26:
0000014E 225F movea.l A1, [A7]+
00000150 201F move.l D0, [A7]+
00000152 A122 syscall NewHandle, flags=1
00000154 2E88 move.l [A7], A0
00000156 4EFA FFEA jmp [PC - 0x16 /* 00000142 */]
fn0000015A:
0000015A 225F movea.l A1, [A7]+
0000015C 205F movea.l A0, [A7]+
0000015E A025 syscall GetHandleSize
00000160 2E80 move.l [A7], D0
00000162 6A06 bpl +0x8 /* 0000016A */
00000164 4297 clr.l [A7]
00000166 4EFA FFDA jmp [PC - 0x26 /* 00000142 */]
label0000016A:
0000016A 4EFA FFD4 jmp [PC - 0x2C /* 00000140 */]
export_25:
fn0000016E:
0000016E 225F movea.l A1, [A7]+
00000170 205F movea.l A0, [A7]+
00000172 A029 syscall HLock
00000174 4EFA FFCC jmp [PC - 0x34 /* 00000142 */]
export_24:
fn00000178:
00000178 225F movea.l A1, [A7]+
0000017A 205F movea.l A0, [A7]+
0000017C A02A syscall HUnlock
0000017E 4EFA FFC2 jmp [PC - 0x3E /* 00000142 */]
export_23:
00000182 225F movea.l A1, [A7]+
00000184 205F movea.l A0, [A7]+
00000186 A049 syscall HPurge
00000188 4EFA FFB8 jmp [PC - 0x48 /* 00000142 */]
export_22:
0000018C 225F movea.l A1, [A7]+
0000018E 205F movea.l A0, [A7]+
00000190 A04A syscall HNoPurge
00000192 4EFA FFAE jmp [PC - 0x52 /* 00000142 */]
export_21:
00000196 A036 syscall MoreMasters
00000198 4EFA FFAA jmp [PC - 0x56 /* 00000144 */]
export_20:
0000019C 225F movea.l A1, [A7]+
0000019E 205F movea.l A0, [A7]+
000001A0 20B8 020C move.l [A0], [0x0000020C /* Time */]
000001A4 4ED1 jmp [A1]
export_19:
fn000001A6:
000001A6 201F move.l D0, [A7]+
000001A8 225F movea.l A1, [A7]+
000001AA 205F movea.l A0, [A7]+
000001AC 2F00 move.l -[A7], D0
000001AE A03B syscall Delay
000001B0 2280 move.l [A1], D0
000001B2 4E75 rts
export_18:
000001B4 4E56 FFB0 link A6, -0x0050
000001B8 41EE FFB0 lea.l A0, [A6 - 0x50]
000001BC 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000001C2 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000001C8 4228 001A clr.b [A0 + 0x1A]
000001CC 4268 001C clr.w [A0 + 0x1C]
000001D0 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000001D2 3D40 0012 move.w [A6 + 0x12], D0
000001D6 41E8 0020 lea.l A0, [A0 + 0x20]
000001DA 226E 0008 movea.l A1, [A6 + 0x8]
000001DE 7010 moveq.l D0, 0x10
000001E0 A02E syscall BlockMove/BlockMoveData
000001E2 4E5E unlink A6
000001E4 225F movea.l A1, [A7]+
000001E6 DFFC 0000 000A add.l A7, 0xA /* '\n' */
000001EC 4ED1 jmp [A1]
export_17:
000001EE 4E56 FFC0 link A6, -0x0040
000001F2 41EE FFC0 lea.l A0, [A6 - 0x40]
000001F6 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
000001FC A014 syscall GetVol/PBHGetVol/HGetVol
000001FE 3D40 0010 move.w [A6 + 0x10], D0
00000202 226E 0008 movea.l A1, [A6 + 0x8]
00000206 32A8 0016 move.w [A1], [A0 + 0x16]
0000020A 4E5E unlink A6
0000020C 225F movea.l A1, [A7]+
0000020E 508F addq.l A7, 8
00000210 4ED1 jmp [A1]
export_16:
00000212 4E56 FFC0 link A6, -0x0040
00000216 41EE FFC0 lea.l A0, [A6 - 0x40]
0000021A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000220 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000226 A015 syscall SetVol/PBHSetVol/HSetVol
00000228 3D40 000E move.w [A6 + 0xE], D0
0000022C 4E5E unlink A6
0000022E 225F movea.l A1, [A7]+
00000230 5C8F addq.l A7, 6
00000232 4ED1 jmp [A1]
export_15:
00000234 4E56 FFC0 link A6, -0x0040
00000238 41EE FFC0 lea.l A0, [A6 - 0x40]
0000023C 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000242 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000248 A013 syscall FlushVol
0000024A 3D40 000E move.w [A6 + 0xE], D0
0000024E 4E5E unlink A6
00000250 225F movea.l A1, [A7]+
00000252 5C8F addq.l A7, 6
00000254 4ED1 jmp [A1]
export_14:
00000256 4E56 FFCE link A6, -0x0032
0000025A 41EE FFCE lea.l A0, [A6 - 0x32]
0000025E 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000264 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000026A 4228 001A clr.b [A0 + 0x1A]
0000026E A009 syscall Delete/PBHDelete/HDelete
00000270 3D40 000E move.w [A6 + 0xE], D0
00000274 4E5E unlink A6
00000276 225F movea.l A1, [A7]+
00000278 5C8F addq.l A7, 6
0000027A 4ED1 jmp [A1]
export_13:
0000027C 4E56 FFB0 link A6, -0x0050
00000280 41EE FFB0 lea.l A0, [A6 - 0x50]
00000284 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000028A 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00000290 4228 001A clr.b [A0 + 0x1A]
00000294 4268 001C clr.w [A0 + 0x1C]
00000298 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
0000029A 43E8 0020 lea.l A1, [A0 + 0x20]
0000029E 206E 0008 movea.l A0, [A6 + 0x8]
000002A2 7010 moveq.l D0, 0x10
000002A4 A02E syscall BlockMove/BlockMoveData
000002A6 41EE FFB0 lea.l A0, [A6 - 0x50]
000002AA A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
000002AC 3D40 0012 move.w [A6 + 0x12], D0
000002B0 4E5E unlink A6
000002B2 225F movea.l A1, [A7]+
000002B4 DFFC 0000 000A add.l A7, 0xA /* '\n' */
000002BA 4ED1 jmp [A1]
export_12:
000002BC 2078 00E4 movea.l A0, [0x000000E4]
000002C0 B1F8 02AE cmpa.l A0, [0x000002AE /* ROMBase */]
000002C4 651E bcs +0x20 /* 000002E4 */
000002C6 703A moveq.l D0, 0x3A
000002C8 A322 syscall NewHandleClear, flags=3
000002CA 6600 00D2 bne +0xD4 /* 0000039E */
000002CE A029 syscall HLock
000002D0 21C8 00E4 move.l [0x000000E4], A0
000002D4 2250 movea.l A1, [A0]
000002D6 2378 033C 0034 move.l [A1 + 0x34], [0x0000033C /* IAZNotify */]
000002DC 43FA 0102 lea.l A1, [PC + 0x102 /* 000003E0, value 0x61E42038 */]
000002E0 21C9 033C move.l [0x0000033C /* IAZNotify */], A1
label000002E4:
000002E4 2250 movea.l A1, [A0]
000002E6 4A69 0010 tst.w [A1 + 0x10]
000002EA 6F7E ble +0x80 /* 0000036A */
000002EC 222F 0004 move.l D1, [A7 + 0x4]
000002F0 6B72 bmi +0x74 /* 00000364 */
000002F2 50E9 0039 st [A1 + 0x39]
000002F6 3229 0032 move.w D1, [A1 + 0x32]
000002FA 2408 move.l D2, A0
000002FC 48E7 6000 movem.l -[A7], D1,D2
00000300 A9E1 syscall HandToHand
00000302 4CDF 0006 movem.l D1,D2, [A7]+
00000306 4A40 tst.w D0
00000308 6600 0094 bne +0x96 /* 0000039E */
0000030C 7000 moveq.l D0, 0x00
0000030E 0641 000C addi.w D1, 0xC
00000312 3001 move.w D0, D1
00000314 A024 syscall SetHandleSize
00000316 6600 0086 bne +0x88 /* 0000039E */
0000031A A029 syscall HLock
0000031C 21C8 00E4 move.l [0x000000E4], A0
00000320 2250 movea.l A1, [A0]
00000322 2078 027A movea.l A0, [0x0000027A /* SoundDCE */]
00000326 2149 0008 move.l [A0 + 0x8], A1
0000032A 2149 000C move.l [A0 + 0xC], A1
0000032E 2042 movea.l A0, D2
00000330 2050 movea.l A0, [A0]
00000332 1028 0038 move.b D0, [A0 + 0x38]
00000336 8129 0038 or.b [A1 + 0x38], D0
0000033A 2042 movea.l A0, D2
0000033C A023 syscall DisposHandle/DisposeHandle
0000033E 3341 0032 move.w [A1 + 0x32], D1
00000342 08A9 0000 0038 bclr.b [A1 + 0x38], 0x0
00000348 6708 beq +0xA /* 00000352 */
0000034A 4269 0010 clr.w [A1 + 0x10]
0000034E 4EBA 009C jsr [PC + 0x9C /* 000003EC */]
label00000352:
00000352 51E9 0039 sf [A1 + 0x39]
00000356 D2C1 add.w A1, D1
00000358 700C moveq.l D0, 0x0C
0000035A 92C0 sub.w A1, D0
0000035C 41EF 0004 lea.l A0, [A7 + 0x4]
00000360 A02E syscall BlockMove/BlockMoveData
00000362 603E bra +0x40 /* 000003A2 */
label00000364:
00000364 3028 0010 move.w D0, [A0 + 0x10]
00000368 6EFA bgt -0x4 /* 00000364 */
label0000036A:
0000036A 2049 movea.l A0, A1
0000036C 317C 003A 0032 move.w [A0 + 0x32], 0x3A /* ':' */
00000372 216F 0008 0024 move.l [A0 + 0x24], [A7 + 0x8]
00000378 216F 000C 0020 move.l [A0 + 0x20], [A7 + 0xC]
0000037E 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
00000384 222F 0004 move.l D1, [A7 + 0x4]
00000388 6A04 bpl +0x6 /* 0000038E */
0000038A A003 syscall Write
0000038C 600E bra +0x10 /* 0000039C */
label0000038E:
0000038E 2141 001C move.l [A0 + 0x1C], D1
00000392 43FA 0058 lea.l A1, [PC + 0x58 /* 000003EC, value 0x48E7E0C0 */]
00000396 2149 000C move.l [A0 + 0xC], A1
0000039A A403 syscall Write, flags=4
label0000039C:
0000039C 4A40 tst.w D0
label0000039E:
0000039E 6702 beq +0x4 /* 000003A2 */
000003A0 6108 bsr +0xA /* 000003AA */
label000003A2:
000003A2 225F movea.l A1, [A7]+
000003A4 DEFC 000C add.w A7, 0xC
000003A8 4ED1 jmp [A1]
fn000003AA:
000003AA 2078 00E4 movea.l A0, [0x000000E4]
000003AE B1F8 02AE cmpa.l A0, [0x000002AE /* ROMBase */]
000003B2 6410 bcc +0x12 /* 000003C4 */
000003B4 2250 movea.l A1, [A0]
000003B6 21E9 0034 033C move.l [0x0000033C /* IAZNotify */], [A1 + 0x34]
000003BC A023 syscall DisposHandle/DisposeHandle
000003BE 31F8 02AE 00E4 move.w [0x000000E4], [0x000002AE /* ROMBase */]
label000003C4:
000003C4 4E75 rts
fn000003C6:
000003C6 4E56 FFE0 link A6, -0x0020
000003CA 41EE FFE0 lea.l A0, [A6 - 0x20]
000003CE 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
000003D4 A206 syscall KillIO, flags=2
000003D6 4278 0280 clr.w [0x00000280 /* CurPitch */]
000003DA 61CE bsr -0x30 /* 000003AA */
000003DC 4E5E unlink A6
label000003DE:
000003DE 4E75 rts
000003E0 61E4 bsr -0x1A /* 000003C6 */
000003E2 2038 033C move.l D0, [0x0000033C /* IAZNotify */]
000003E6 6FF6 ble -0x8 /* 000003DE */
000003E8 2040 movea.l A0, D0
000003EA 4ED0 jmp [A0]
fn000003EC:
000003EC 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000003F0 2078 00E4 movea.l A0, [0x000000E4]
000003F4 2050 movea.l A0, [A0]
000003F6 4A28 0039 tst.b [A0 + 0x39]
000003FA 6706 beq +0x8 /* 00000402 */
000003FC 50E8 0038 st [A0 + 0x38]
00000400 6062 bra +0x64 /* 00000464 */
label00000402:
00000402 3028 0032 move.w D0, [A0 + 0x32]
00000406 2228 001C move.l D1, [A0 + 0x1C]
0000040A 670C beq +0xE /* 00000418 */
0000040C 2241 movea.l A1, D1
0000040E 48E7 8080 movem.l -[A7], D0,A0
00000412 4E91 jsr [A1]
00000414 4CDF 0101 movem.l D0,A0, [A7]+
label00000418:
00000418 0C40 003A cmpi.w D0, 0x3A /* ':' */
0000041C 6746 beq +0x48 /* 00000464 */
0000041E 2248 movea.l A1, A0
00000420 41E8 003A lea.l A0, [A0 + 0x3A]
00000424 2358 001C move.l [A1 + 0x1C], [A0]+
00000428 2358 0024 move.l [A1 + 0x24], [A0]+
0000042C 2358 0020 move.l [A1 + 0x20], [A0]+
00000430 337C FFFC 0018 move.w [A1 + 0x18], 0xFFFC
00000436 7246 moveq.l D1, 0x46
00000438 9041 sub.w D0, D1
0000043A 6712 beq +0x14 /* 0000044E */
0000043C 3200 move.w D1, D0
0000043E 48C0 ext.l D0
00000440 2248 movea.l A1, A0
00000442 92FC 000C sub.w A1, 0xC
00000446 A02E syscall BlockMove/BlockMoveData
00000448 0641 003A addi.w D1, 0x3A /* ':' */
0000044C 6002 bra +0x4 /* 00000450 */
label0000044E:
0000044E 723A moveq.l D1, 0x3A
label00000450:
00000450 2078 00E4 movea.l A0, [0x000000E4]
00000454 2050 movea.l A0, [A0]
00000456 3141 0032 move.w [A0 + 0x32], D1
0000045A 43FA FF90 lea.l A1, [PC - 0x70 /* 000003EC, value 0x48E7E0C0 */]
0000045E 2149 000C move.l [A0 + 0xC], A1
00000462 A403 syscall Write, flags=4
label00000464:
00000464 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00000468 4E75 rts
export_11:
0000046A 225F movea.l A1, [A7]+
0000046C 50D7 st [A7]
0000046E 2078 00E4 movea.l A0, [0x000000E4]
00000472 B1F8 02AE cmpa.l A0, [0x000002AE /* ROMBase */]
00000476 6408 bcc +0xA /* 00000480 */
00000478 2050 movea.l A0, [A0]
0000047A 4A68 0010 tst.w [A0 + 0x10]
0000047E 5FD7 sle [A7]
label00000480:
00000480 4417 neg.b [A7]
00000482 4ED1 jmp [A1]
export_10:
00000484 226F 0004 movea.l A1, [A7 + 0x4]
00000488 4251 clr.w [A1]
0000048A 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
0000048E A025 syscall GetHandleSize
00000490 6F0E ble +0x10 /* 000004A0 */
00000492 2050 movea.l A0, [A0]
00000494 226F 0008 movea.l A1, [A7 + 0x8]
00000498 3298 move.w [A1], [A0]+
0000049A 226F 0004 movea.l A1, [A7 + 0x4]
0000049E 3290 move.w [A1], [A0]
label000004A0:
000004A0 205F movea.l A0, [A7]+
000004A2 504F addq.w A7, 8
000004A4 4ED0 jmp [A0]
export_9:
000004A6 48E7 0030 movem.l -[A7], A2,A3
000004AA 226F 000C movea.l A1, [A7 + 0xC]
000004AE 42A9 0002 clr.l [A1 + 0x2]
000004B2 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000004B6 A025 syscall GetHandleSize
000004B8 6F26 ble +0x28 /* 000004E0 */
000004BA 2450 movea.l A2, [A0]
000004BC 544A addq.w A2, 2
000004BE 322F 0010 move.w D1, [A7 + 0x10]
000004C2 B25A cmp.w D1, [A2]+
000004C4 6E1A bgt +0x1C /* 000004E0 */
000004C6 5341 subq.w D1, 1
label000004C8:
000004C8 6D16 blt +0x18 /* 000004E0 */
000004CA 204A movea.l A0, A2
000004CC 7002 moveq.l D0, 0x02
000004CE D028 0008 add.b D0, [A0 + 0x8]
000004D2 0240 FFFE andi.w D0, 0xFFFE
000004D6 5040 addq.w D0, 8
000004D8 D4C0 add.w A2, D0
000004DA A02E syscall BlockMove/BlockMoveData
000004DC 5341 subq.w D1, 1
000004DE 60E8 bra -0x16 /* 000004C8 */
label000004E0:
000004E0 4CDF 0C00 movem.l A2,A3, [A7]+
000004E4 205F movea.l A0, [A7]+
000004E6 5C4F addq.w A7, 6
000004E8 4ED0 jmp [A0]
export_8:
000004EA 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000004EE A025 syscall GetHandleSize
000004F0 6F28 ble +0x2A /* 0000051A */
000004F2 2050 movea.l A0, [A0]
000004F4 5448 addq.w A0, 2
000004F6 322F 0004 move.w D1, [A7 + 0x4]
000004FA B258 cmp.w D1, [A0]+
000004FC 6E1C bgt +0x1E /* 0000051A */
000004FE 5341 subq.w D1, 1
label00000500:
00000500 6D18 blt +0x1A /* 0000051A */
00000502 6712 beq +0x14 /* 00000516 */
00000504 7002 moveq.l D0, 0x02
00000506 D028 0008 add.b D0, [A0 + 0x8]
0000050A 0240 FFFE andi.w D0, 0xFFFE
0000050E 5040 addq.w D0, 8
00000510 D0C0 add.w A0, D0
00000512 5341 subq.w D1, 1
00000514 60EA bra -0x14 /* 00000500 */
label00000516:
00000516 42A8 0002 clr.l [A0 + 0x2]
label0000051A:
0000051A 205F movea.l A0, [A7]+
0000051C 544F addq.w A7, 2
0000051E 4ED0 jmp [A0]
00000520 6118 bsr +0x1A /* 0000053A */
00000522 A9DB syscall TEPaste
label00000524:
00000524 2E9F move.l [A7], [A7]+
00000526 4E75 rts
00000528 6110 bsr +0x12 /* 0000053A */
0000052A A9D6 syscall TECut
0000052C 60F6 bra -0x8 /* 00000524 */
0000052E 610A bsr +0xC /* 0000053A */
00000530 A9D5 syscall TECopy
00000532 60F0 bra -0xE /* 00000524 */
export_7:
00000534 6104 bsr +0x6 /* 0000053A */
00000536 A9D7 syscall TEDelete
00000538 60EA bra -0x14 /* 00000524 */
fn0000053A:
0000053A 206F 0008 movea.l A0, [A7 + 0x8]
0000053E 4A68 00A4 tst.w [A0 + 0xA4]
00000542 6B08 bmi +0xA /* 0000054C */
00000544 225F movea.l A1, [A7]+
00000546 2F28 00A0 move.l -[A7], [A0 + 0xA0]
0000054A 4ED1 jmp [A1]
label0000054C:
0000054C 4CDF 0301 movem.l D0,A0,A1, [A7]+
00000550 4ED0 jmp [A0]
00000552 7401 moveq.l D2, 0x01
label00000554:
00000554 205F movea.l A0, [A7]+
00000556 3F02 move.w -[A7], D2
00000558 2F08 move.l -[A7], A0
0000055A ADEA syscall Pack3, auto_pop
export_6:
0000055C 7402 moveq.l D2, 0x02
0000055E 4EFA FFF4 jmp [PC - 0xC /* 00000554 */]
00000562 7406 moveq.l D2, 0x06
label00000564:
00000564 205F movea.l A0, [A7]+
00000566 3F02 move.w -[A7], D2
00000568 2F08 move.l -[A7], A0
0000056A ADED syscall Pack6, auto_pop
export_5:
0000056C 7400 moveq.l D2, 0x00
0000056E 4EFA FFF4 jmp [PC - 0xC /* 00000564 */]
export_4:
00000572 7402 moveq.l D2, 0x02
00000574 4EFA FFEE jmp [PC - 0x12 /* 00000564 */]
export_3:
00000578 206F 0008 movea.l A0, [A7 + 0x8]
0000057C 3F3C 0001 move.w -[A7], 0x1
00000580 A9EE syscall Pack7/DecStr68K
00000582 206F 0004 movea.l A0, [A7 + 0x4]
00000586 2080 move.l [A0], D0
00000588 4EFA 0010 jmp [PC + 0x10 /* 0000059A */]
export_2:
0000058C 206F 0004 movea.l A0, [A7 + 0x4]
00000590 202F 0008 move.l D0, [A7 + 0x8]
00000594 3F3C 0000 move.w -[A7], 0x0
00000598 A9EE syscall Pack7/DecStr68K
label0000059A:
0000059A 205F movea.l A0, [A7]+
0000059C 504F addq.w A7, 8
0000059E 4ED0 jmp [A0]
fn000005A0:
000005A0 4E56 FFF0 link A6, -0x0010
000005A4 48E7 0108 movem.l -[A7], D7,A4
000005A8 0C6E 0000 000C cmpi.w [A6 + 0xC], 0x0
000005AE 6F00 0036 ble +0x38 /* 000005E6 */
000005B2 286E 0008 movea.l A4, [A6 + 0x8]
000005B6 2D6C FEE0 FFFC move.l [A6 - 0x4], [A4 - 0x120]
000005BC 486E FFF4 pea.l [A6 - 0xC]
000005C0 3F3C 008A move.w -[A7], 0x8A
000005C4 3E3C 011E move.w D7, 0x11E
000005C8 9E6E 000C sub.w D7, [A6 + 0xC]
000005CC 3F07 move.w -[A7], D7
000005CE 3F3C 00E8 move.w -[A7], 0xE8
000005D2 3E2E 000C move.w D7, [A6 + 0xC]
000005D6 CFFC 0006 muls.w D7, 0x6
000005DA 0647 011E addi.w D7, 0x11E
000005DE 3F07 move.w -[A7], D7
000005E0 A8A7 syscall SetRect
000005E2 4EFA 0032 jmp [PC + 0x32 /* 00000616 */]
label000005E6:
000005E6 286E 0008 movea.l A4, [A6 + 0x8]
000005EA 2D6C FEDC FFFC move.l [A6 - 0x4], [A4 - 0x124]
000005F0 486E FFF4 pea.l [A6 - 0xC]
000005F4 3F3C 008A move.w -[A7], 0x8A
000005F8 3E2E 000C move.w D7, [A6 + 0xC]
000005FC CFFC 0006 muls.w D7, 0x6
00000600 0647 011E addi.w D7, 0x11E
00000604 3F07 move.w -[A7], D7
00000606 3F3C 00E8 move.w -[A7], 0xE8
0000060A 3E3C 011E move.w D7, 0x11E
0000060E 9E6E 000C sub.w D7, [A6 + 0xC]
00000612 3F07 move.w -[A7], D7
00000614 A8A7 syscall SetRect
label00000616:
00000616 A8DA syscall OpenRgn
00000618 486E FFF4 pea.l [A6 - 0xC]
0000061C A8B7 syscall FrameOval
0000061E 2F2E 000E move.l -[A7], [A6 + 0xE]
00000622 A8DB syscall CloseRgn
00000624 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000628 2F2E 000E move.l -[A7], [A6 + 0xE]
0000062C 2F2E 000E move.l -[A7], [A6 + 0xE]
00000630 A8E4 syscall SectRgn
00000632 4CDF 1080 movem.l D7,A4, [A7]+
00000636 4E5E unlink A6
00000638 205F movea.l A0, [A7]+
0000063A 4FEF 000A lea.l A7, [A7 + 0xA]
0000063E 4ED0 jmp [A0]
fn00000640:
00000640 4E56 0000 link A6, 0
00000644 48E7 0118 movem.l -[A7], D7,A3,A4
00000648 286E 0008 movea.l A4, [A6 + 0x8]
0000064C 266E 0008 movea.l A3, [A6 + 0x8]
00000650 296B FED4 FEF8 move.l [A4 - 0x108], [A3 - 0x12C]
00000656 296B FED8 FEFC move.l [A4 - 0x104], [A3 - 0x128]
0000065C 286E 0008 movea.l A4, [A6 + 0x8]
00000660 266E 0008 movea.l A3, [A6 + 0x8]
00000664 486B FEF8 pea.l [A3 - 0x108]
00000668 3E3C 008A move.w D7, 0x8A
0000066C DE6C FF12 add.w D7, [A4 - 0xEE]
00000670 3F07 move.w -[A7], D7
00000672 3E3C 00FE move.w D7, 0xFE
00000676 9E6C FF10 sub.w D7, [A4 - 0xF0]
0000067A 3F07 move.w -[A7], D7
0000067C A8A8 syscall OffsetRect
0000067E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000682 4E5E unlink A6
00000684 2E9F move.l [A7], [A7]+
00000686 4E75 rts
fn00000688:
00000688 4E56 0000 link A6, 0
0000068C 48E7 0108 movem.l -[A7], D7,A4
00000690 286E 0008 movea.l A4, [A6 + 0x8]
00000694 2F2C FEE8 move.l -[A7], [A4 - 0x118]
00000698 286E 0008 movea.l A4, [A6 + 0x8]
0000069C 3F2C FF14 move.w -[A7], [A4 - 0xEC]
000006A0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000006A4 4EBA FEFA jsr [PC - 0x106 /* 000005A0 */]
000006A8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000006AC 4EBA FF92 jsr [PC - 0x6E /* 00000640 */]
000006B0 286E 0008 movea.l A4, [A6 + 0x8]
000006B4 2F2C FEE4 move.l -[A7], [A4 - 0x11C]
000006B8 286E 0008 movea.l A4, [A6 + 0x8]
000006BC 2F2C FEE8 move.l -[A7], [A4 - 0x118]
000006C0 286E 0008 movea.l A4, [A6 + 0x8]
000006C4 2F2C FEF0 move.l -[A7], [A4 - 0x110]
000006C8 A8E7 syscall XorRgn
000006CA 286E 0008 movea.l A4, [A6 + 0x8]
000006CE 2F2C FEF0 move.l -[A7], [A4 - 0x110]
000006D2 286E 0008 movea.l A4, [A6 + 0x8]
000006D6 2F2C FEEC move.l -[A7], [A4 - 0x114]
000006DA A8DC syscall CopyRgn
000006DC 286E 0008 movea.l A4, [A6 + 0x8]
000006E0 2F2C FEEC move.l -[A7], [A4 - 0x114]
000006E4 3F3C 0001 move.w -[A7], 0x1
000006E8 3F3C 0001 move.w -[A7], 0x1
000006EC A8E1 syscall InsetRgn
000006EE 286E 0008 movea.l A4, [A6 + 0x8]
000006F2 2F2C FEF4 move.l -[A7], [A4 - 0x10C]
000006F6 286E 0008 movea.l A4, [A6 + 0x8]
000006FA 486C FF08 pea.l [A4 - 0xF8]
000006FE A8DF syscall RectRgn
00000700 286E 0008 movea.l A4, [A6 + 0x8]
00000704 2F2C FEF4 move.l -[A7], [A4 - 0x10C]
00000708 286E 0008 movea.l A4, [A6 + 0x8]
0000070C 2F2C FEF0 move.l -[A7], [A4 - 0x110]
00000710 286E 0008 movea.l A4, [A6 + 0x8]
00000714 2F2C FEF4 move.l -[A7], [A4 - 0x10C]
00000718 A8E6 syscall DiffRgn
0000071A 286E 0008 movea.l A4, [A6 + 0x8]
0000071E 2F2C FEF0 move.l -[A7], [A4 - 0x110]
00000722 A8D2 syscall FrameRgn
00000724 286E 0008 movea.l A4, [A6 + 0x8]
00000728 486C FECE pea.l [A4 - 0x132]
0000072C 286E 0008 movea.l A4, [A6 + 0x8]
00000730 286C FF18 movea.l A4, [A4 - 0xE8]
00000734 486C 0002 pea.l [A4 + 0x2]
00000738 286E 0008 movea.l A4, [A6 + 0x8]
0000073C 486C FED4 pea.l [A4 - 0x12C]
00000740 286E 0008 movea.l A4, [A6 + 0x8]
00000744 486C FEF8 pea.l [A4 - 0x108]
00000748 4267 clr.w -[A7]
0000074A 286E 0008 movea.l A4, [A6 + 0x8]
0000074E 2F2C FEEC move.l -[A7], [A4 - 0x114]
00000752 A8EC syscall CopyBits
00000754 286E 0008 movea.l A4, [A6 + 0x8]
00000758 2F2C FEF4 move.l -[A7], [A4 - 0x10C]
0000075C A8D4 syscall EraseRgn
0000075E 286E 0008 movea.l A4, [A6 + 0x8]
00000762 286C FF18 movea.l A4, [A4 - 0xE8]
00000766 486C 0002 pea.l [A4 + 0x2]
0000076A 286E 0008 movea.l A4, [A6 + 0x8]
0000076E 286C FF18 movea.l A4, [A4 - 0xE8]
00000772 486C 0002 pea.l [A4 + 0x2]
00000776 286E 0008 movea.l A4, [A6 + 0x8]
0000077A 486C FF08 pea.l [A4 - 0xF8]
0000077E 286E 0008 movea.l A4, [A6 + 0x8]
00000782 486C FF00 pea.l [A4 - 0x100]
00000786 4267 clr.w -[A7]
00000788 42A7 clr.l -[A7]
0000078A A8EC syscall CopyBits
0000078C 4CDF 1080 movem.l D7,A4, [A7]+
00000790 4E5E unlink A6
00000792 2E9F move.l [A7], [A7]+
00000794 4E75 rts
fn00000796:
00000796 4E56 0000 link A6, 0
0000079A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000079E 286E 0008 movea.l A4, [A6 + 0x8]
label000007A2:
000007A2 4A6C FF12 tst.w [A4 - 0xEE]
000007A6 56C7 sne D7
000007A8 4407 neg.b D7
000007AA 0C6C FFF8 FF10 cmpi.w [A4 - 0xF0], 0xFFF8
000007B0 5EC6 sgt D6
000007B2 4406 neg.b D6
000007B4 8C07 or.b D6, D7
000007B6 6700 005E beq +0x60 /* 00000816 */
000007BA 0C6C 0000 FF12 cmpi.w [A4 - 0xEE], 0x0
000007C0 6F00 0010 ble +0x12 /* 000007D2 */
000007C4 3E2C FF12 move.w D7, [A4 - 0xEE]
000007C8 5947 subq.w D7, 4
000007CA 3947 FF12 move.w [A4 - 0xEE], D7
000007CE 4EFA 0016 jmp [PC + 0x16 /* 000007E6 */]
label000007D2:
000007D2 0C6C 0000 FF12 cmpi.w [A4 - 0xEE], 0x0
000007D8 6C00 000C bge +0xE /* 000007E6 */
000007DC 3E2C FF12 move.w D7, [A4 - 0xEE]
000007E0 5847 addq.w D7, 4
000007E2 3947 FF12 move.w [A4 - 0xEE], D7
label000007E6:
000007E6 0C6C FFF8 FF10 cmpi.w [A4 - 0xF0], 0xFFF8
000007EC 6F00 000C ble +0xE /* 000007FA */
000007F0 3E2C FF10 move.w D7, [A4 - 0xF0]
000007F4 5547 subq.w D7, 2
000007F6 3947 FF10 move.w [A4 - 0xF0], D7
label000007FA:
000007FA 266E 0008 movea.l A3, [A6 + 0x8]
000007FE 3E2C FF10 move.w D7, [A4 - 0xF0]
00000802 0647 000E addi.w D7, 0xE
00000806 3747 FF14 move.w [A3 - 0xEC], D7
0000080A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000080E 4EBA FE78 jsr [PC - 0x188 /* 00000688 */]
00000812 4EFA FF8E jmp [PC - 0x72 /* 000007A2 */]
label00000816:
00000816 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000081A 4E5E unlink A6
0000081C 2E9F move.l [A7], [A7]+
0000081E 4E75 rts
fn00000820:
00000820 4E56 0000 link A6, 0
00000824 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000828 286E 0008 movea.l A4, [A6 + 0x8]
label0000082C:
0000082C 4A6C FF12 tst.w [A4 - 0xEE]
00000830 56C7 sne D7
00000832 4407 neg.b D7
00000834 0C6C 0008 FF10 cmpi.w [A4 - 0xF0], 0x8
0000083A 5DC6 slt D6
0000083C 4406 neg.b D6
0000083E 8C07 or.b D6, D7
00000840 6700 005E beq +0x60 /* 000008A0 */
00000844 0C6C 0000 FF12 cmpi.w [A4 - 0xEE], 0x0
0000084A 6F00 0010 ble +0x12 /* 0000085C */
0000084E 3E2C FF12 move.w D7, [A4 - 0xEE]
00000852 5947 subq.w D7, 4
00000854 3947 FF12 move.w [A4 - 0xEE], D7
00000858 4EFA 0016 jmp [PC + 0x16 /* 00000870 */]
label0000085C:
0000085C 0C6C 0000 FF12 cmpi.w [A4 - 0xEE], 0x0
00000862 6C00 000C bge +0xE /* 00000870 */
00000866 3E2C FF12 move.w D7, [A4 - 0xEE]
0000086A 5847 addq.w D7, 4
0000086C 3947 FF12 move.w [A4 - 0xEE], D7
label00000870:
00000870 0C6C 0008 FF10 cmpi.w [A4 - 0xF0], 0x8
00000876 6C00 000C bge +0xE /* 00000884 */
0000087A 3E2C FF10 move.w D7, [A4 - 0xF0]
0000087E 5447 addq.w D7, 2
00000880 3947 FF10 move.w [A4 - 0xF0], D7
label00000884:
00000884 266E 0008 movea.l A3, [A6 + 0x8]
00000888 3E2C FF10 move.w D7, [A4 - 0xF0]
0000088C 0647 000E addi.w D7, 0xE
00000890 3747 FF14 move.w [A3 - 0xEC], D7
00000894 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000898 4EBA FDEE jsr [PC - 0x212 /* 00000688 */]
0000089C 4EFA FF8E jmp [PC - 0x72 /* 0000082C */]
label000008A0:
000008A0 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000008A4 4E5E unlink A6
000008A6 2E9F move.l [A7], [A7]+
000008A8 4E75 rts
fn000008AA:
000008AA 4E56 0000 link A6, 0
000008AE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000008B2 286E 0008 movea.l A4, [A6 + 0x8]
label000008B6:
000008B6 0C6C FFF0 FF12 cmpi.w [A4 - 0xEE], 0xFFF0
000008BC 5EC7 sgt D7
000008BE 4407 neg.b D7
000008C0 4A6C FF10 tst.w [A4 - 0xF0]
000008C4 56C6 sne D6
000008C6 4406 neg.b D6
000008C8 8C07 or.b D6, D7
000008CA 6700 005E beq +0x60 /* 0000092A */
000008CE 0C6C FFF0 FF12 cmpi.w [A4 - 0xEE], 0xFFF0
000008D4 6F00 000C ble +0xE /* 000008E2 */
000008D8 3E2C FF12 move.w D7, [A4 - 0xEE]
000008DC 5947 subq.w D7, 4
000008DE 3947 FF12 move.w [A4 - 0xEE], D7
label000008E2:
000008E2 0C6C 0000 FF10 cmpi.w [A4 - 0xF0], 0x0
000008E8 6F00 0010 ble +0x12 /* 000008FA */
000008EC 3E2C FF10 move.w D7, [A4 - 0xF0]
000008F0 5547 subq.w D7, 2
000008F2 3947 FF10 move.w [A4 - 0xF0], D7
000008F6 4EFA 0016 jmp [PC + 0x16 /* 0000090E */]
label000008FA:
000008FA 0C6C 0000 FF10 cmpi.w [A4 - 0xF0], 0x0
00000900 6C00 000C bge +0xE /* 0000090E */
00000904 3E2C FF10 move.w D7, [A4 - 0xF0]
00000908 5447 addq.w D7, 2
0000090A 3947 FF10 move.w [A4 - 0xF0], D7
label0000090E:
0000090E 266E 0008 movea.l A3, [A6 + 0x8]
00000912 3E2C FF10 move.w D7, [A4 - 0xF0]
00000916 0647 000E addi.w D7, 0xE
0000091A 3747 FF14 move.w [A3 - 0xEC], D7
0000091E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000922 4EBA FD64 jsr [PC - 0x29C /* 00000688 */]
00000926 4EFA FF8E jmp [PC - 0x72 /* 000008B6 */]
label0000092A:
0000092A 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000092E 4E5E unlink A6
00000930 2E9F move.l [A7], [A7]+
00000932 4E75 rts
fn00000934:
00000934 4E56 0000 link A6, 0
00000938 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000093C 286E 0008 movea.l A4, [A6 + 0x8]
label00000940:
00000940 0C6C 0010 FF12 cmpi.w [A4 - 0xEE], 0x10
00000946 5DC7 slt D7
00000948 4407 neg.b D7
0000094A 4A6C FF10 tst.w [A4 - 0xF0]
0000094E 56C6 sne D6
00000950 4406 neg.b D6
00000952 8C07 or.b D6, D7
00000954 6700 005E beq +0x60 /* 000009B4 */
00000958 0C6C 0010 FF12 cmpi.w [A4 - 0xEE], 0x10
0000095E 6C00 000C bge +0xE /* 0000096C */
00000962 3E2C FF12 move.w D7, [A4 - 0xEE]
00000966 5847 addq.w D7, 4
00000968 3947 FF12 move.w [A4 - 0xEE], D7
label0000096C:
0000096C 0C6C 0000 FF10 cmpi.w [A4 - 0xF0], 0x0
00000972 6F00 0010 ble +0x12 /* 00000984 */
00000976 3E2C FF10 move.w D7, [A4 - 0xF0]
0000097A 5547 subq.w D7, 2
0000097C 3947 FF10 move.w [A4 - 0xF0], D7
00000980 4EFA 0016 jmp [PC + 0x16 /* 00000998 */]
label00000984:
00000984 0C6C 0000 FF10 cmpi.w [A4 - 0xF0], 0x0
0000098A 6C00 000C bge +0xE /* 00000998 */
0000098E 3E2C FF10 move.w D7, [A4 - 0xF0]
00000992 5447 addq.w D7, 2
00000994 3947 FF10 move.w [A4 - 0xF0], D7
label00000998:
00000998 266E 0008 movea.l A3, [A6 + 0x8]
0000099C 3E2C FF10 move.w D7, [A4 - 0xF0]
000009A0 0647 000E addi.w D7, 0xE
000009A4 3747 FF14 move.w [A3 - 0xEC], D7
000009A8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009AC 4EBA FCDA jsr [PC - 0x326 /* 00000688 */]
000009B0 4EFA FF8E jmp [PC - 0x72 /* 00000940 */]
label000009B4:
000009B4 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000009B8 4E5E unlink A6
000009BA 2E9F move.l [A7], [A7]+
000009BC 4E75 rts
fn000009BE:
000009BE 4E56 0000 link A6, 0
000009C2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000009C6 286E 0008 movea.l A4, [A6 + 0x8]
label000009CA:
000009CA 4A6C FF12 tst.w [A4 - 0xEE]
000009CE 56C7 sne D7
000009D0 4407 neg.b D7
000009D2 4A6C FF10 tst.w [A4 - 0xF0]
000009D6 56C6 sne D6
000009D8 4406 neg.b D6
000009DA 8C07 or.b D6, D7
000009DC 6700 0076 beq +0x78 /* 00000A54 */
000009E0 0C6C 0000 FF12 cmpi.w [A4 - 0xEE], 0x0
000009E6 6F00 0010 ble +0x12 /* 000009F8 */
000009EA 3E2C FF12 move.w D7, [A4 - 0xEE]
000009EE 5947 subq.w D7, 4
000009F0 3947 FF12 move.w [A4 - 0xEE], D7
000009F4 4EFA 0016 jmp [PC + 0x16 /* 00000A0C */]
label000009F8:
000009F8 0C6C 0000 FF12 cmpi.w [A4 - 0xEE], 0x0
000009FE 6C00 000C bge +0xE /* 00000A0C */
00000A02 3E2C FF12 move.w D7, [A4 - 0xEE]
00000A06 5847 addq.w D7, 4
00000A08 3947 FF12 move.w [A4 - 0xEE], D7
label00000A0C:
00000A0C 0C6C 0000 FF10 cmpi.w [A4 - 0xF0], 0x0
00000A12 6F00 0010 ble +0x12 /* 00000A24 */
00000A16 3E2C FF10 move.w D7, [A4 - 0xF0]
00000A1A 5547 subq.w D7, 2
00000A1C 3947 FF10 move.w [A4 - 0xF0], D7
00000A20 4EFA 0016 jmp [PC + 0x16 /* 00000A38 */]
label00000A24:
00000A24 0C6C 0000 FF10 cmpi.w [A4 - 0xF0], 0x0
00000A2A 6C00 000C bge +0xE /* 00000A38 */
00000A2E 3E2C FF10 move.w D7, [A4 - 0xF0]
00000A32 5447 addq.w D7, 2
00000A34 3947 FF10 move.w [A4 - 0xF0], D7
label00000A38:
00000A38 266E 0008 movea.l A3, [A6 + 0x8]
00000A3C 3E2C FF10 move.w D7, [A4 - 0xF0]
00000A40 0647 000E addi.w D7, 0xE
00000A44 3747 FF14 move.w [A3 - 0xEC], D7
00000A48 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A4C 4EBA FC3A jsr [PC - 0x3C6 /* 00000688 */]
00000A50 4EFA FF78 jmp [PC - 0x88 /* 000009CA */]
label00000A54:
00000A54 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00000A58 4E5E unlink A6
00000A5A 2E9F move.l [A7], [A7]+
00000A5C 4E75 rts
fn00000A5E:
00000A5E 4E56 0000 link A6, 0
00000A62 48E7 0118 movem.l -[A7], D7,A3,A4
00000A66 286E 0008 movea.l A4, [A6 + 0x8]
00000A6A 266E 0008 movea.l A3, [A6 + 0x8]
00000A6E 3E2B FF10 move.w D7, [A3 - 0xF0]
00000A72 0647 0012 addi.w D7, 0x12
00000A76 3947 FF14 move.w [A4 - 0xEC], D7
00000A7A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A7E 4EBA FC08 jsr [PC - 0x3F8 /* 00000688 */]
00000A82 286E 0008 movea.l A4, [A6 + 0x8]
00000A86 266E 0008 movea.l A3, [A6 + 0x8]
00000A8A 3E2B FF10 move.w D7, [A3 - 0xF0]
00000A8E 0647 000E addi.w D7, 0xE
00000A92 3947 FF14 move.w [A4 - 0xEC], D7
00000A96 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A9A 4EBA FBEC jsr [PC - 0x414 /* 00000688 */]
00000A9E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000AA2 4E5E unlink A6
00000AA4 2E9F move.l [A7], [A7]+
00000AA6 4E75 rts
fn00000AA8:
00000AA8 4E56 0000 link A6, 0
00000AAC 48E7 0318 movem.l -[A7], D6,D7,A3,A4
label00000AB0:
00000AB0 286E 0008 movea.l A4, [A6 + 0x8]
00000AB4 266E 0008 movea.l A3, [A6 + 0x8]
00000AB8 3E2B FF10 move.w D7, [A3 - 0xF0]
00000ABC 0647 000E addi.w D7, 0xE
00000AC0 3C2C FF14 move.w D6, [A4 - 0xEC]
00000AC4 BC47 cmp.w D6, D7
00000AC6 6C00 0022 bge +0x24 /* 00000AEA */
00000ACA 286E 0008 movea.l A4, [A6 + 0x8]
00000ACE 266E 0008 movea.l A3, [A6 + 0x8]
00000AD2 3E2B FF14 move.w D7, [A3 - 0xEC]
00000AD6 DE6E 000C add.w D7, [A6 + 0xC]
00000ADA 3947 FF14 move.w [A4 - 0xEC], D7
00000ADE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000AE2 4EBA FBA4 jsr [PC - 0x45C /* 00000688 */]
00000AE6 4EFA FFC8 jmp [PC - 0x38 /* 00000AB0 */]
label00000AEA:
00000AEA 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00000AEE 4E5E unlink A6
00000AF0 205F movea.l A0, [A7]+
00000AF2 5C8F addq.l A7, 6
00000AF4 4ED0 jmp [A0]
fn00000AF6:
00000AF6 4E56 0000 link A6, 0
00000AFA 48E7 0118 movem.l -[A7], D7,A3,A4
label00000AFE:
00000AFE 286E 0008 movea.l A4, [A6 + 0x8]
00000B02 0C6C FFFA FF14 cmpi.w [A4 - 0xEC], 0xFFFA
00000B08 6F00 0022 ble +0x24 /* 00000B2C */
00000B0C 286E 0008 movea.l A4, [A6 + 0x8]
00000B10 266E 0008 movea.l A3, [A6 + 0x8]
00000B14 3E2B FF14 move.w D7, [A3 - 0xEC]
00000B18 9E6E 000C sub.w D7, [A6 + 0xC]
00000B1C 3947 FF14 move.w [A4 - 0xEC], D7
00000B20 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B24 4EBA FB62 jsr [PC - 0x49E /* 00000688 */]
00000B28 4EFA FFD4 jmp [PC - 0x2C /* 00000AFE */]
label00000B2C:
00000B2C 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000B30 4E5E unlink A6
00000B32 205F movea.l A0, [A7]+
00000B34 5C8F addq.l A7, 6
00000B36 4ED0 jmp [A0]
fn00000B38:
00000B38 4E56 FFF8 link A6, -0x0008
00000B3C 48E7 0118 movem.l -[A7], D7,A3,A4
00000B40 286E 0008 movea.l A4, [A6 + 0x8]
00000B44 598F subq.l A7, 4
00000B46 A8D8 syscall NewRgn
00000B48 2E1F move.l D7, [A7]+
00000B4A 2947 FEF4 move.l [A4 - 0x10C], D7
00000B4E 286E 0008 movea.l A4, [A6 + 0x8]
00000B52 598F subq.l A7, 4
00000B54 A8D8 syscall NewRgn
00000B56 2E1F move.l D7, [A7]+
00000B58 2947 FEE8 move.l [A4 - 0x118], D7
00000B5C 286E 0008 movea.l A4, [A6 + 0x8]
00000B60 598F subq.l A7, 4
00000B62 A8D8 syscall NewRgn
00000B64 2E1F move.l D7, [A7]+
00000B66 2947 FEE4 move.l [A4 - 0x11C], D7
00000B6A 286E 0008 movea.l A4, [A6 + 0x8]
00000B6E 598F subq.l A7, 4
00000B70 A8D8 syscall NewRgn
00000B72 2E1F move.l D7, [A7]+
00000B74 2947 FEE0 move.l [A4 - 0x120], D7
00000B78 286E 0008 movea.l A4, [A6 + 0x8]
00000B7C 598F subq.l A7, 4
00000B7E A8D8 syscall NewRgn
00000B80 2E1F move.l D7, [A7]+
00000B82 2947 FEDC move.l [A4 - 0x124], D7
00000B86 286E 0008 movea.l A4, [A6 + 0x8]
00000B8A 598F subq.l A7, 4
00000B8C A8D8 syscall NewRgn
00000B8E 2E1F move.l D7, [A7]+
00000B90 2947 FEF0 move.l [A4 - 0x110], D7
00000B94 286E 0008 movea.l A4, [A6 + 0x8]
00000B98 598F subq.l A7, 4
00000B9A A8D8 syscall NewRgn
00000B9C 2E1F move.l D7, [A7]+
00000B9E 2947 FEEC move.l [A4 - 0x114], D7
00000BA2 286E 0008 movea.l A4, [A6 + 0x8]
00000BA6 266E 0008 movea.l A3, [A6 + 0x8]
00000BAA 47EB FB40 lea.l A3, [A3 - 0x4C0]
00000BAE 294B FECE move.l [A4 - 0x132], A3
00000BB2 397C 000C FED2 move.w [A4 - 0x12E], 0xC
00000BB8 486C FED4 pea.l [A4 - 0x12C]
00000BBC 4267 clr.w -[A7]
00000BBE 4267 clr.w -[A7]
00000BC0 3F3C 005E move.w -[A7], 0x5E /* '^' */
00000BC4 3F3C 0040 move.w -[A7], 0x40 /* '@' */
00000BC8 A8A7 syscall SetRect
00000BCA 286E 0008 movea.l A4, [A6 + 0x8]
00000BCE 486C FF10 pea.l [A4 - 0xF0]
00000BD2 4267 clr.w -[A7]
00000BD4 4267 clr.w -[A7]
00000BD6 A880 syscall SetPt
00000BD8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BDC 4EBA FA62 jsr [PC - 0x59E /* 00000640 */]
00000BE0 286E 0008 movea.l A4, [A6 + 0x8]
00000BE4 486C FEF8 pea.l [A4 - 0x108]
00000BE8 4267 clr.w -[A7]
00000BEA 3F3C 0004 move.w -[A7], 0x4
00000BEE A8A8 syscall OffsetRect
00000BF0 486E FFF8 pea.l [A6 - 0x8]
00000BF4 3F3C 00A9 move.w -[A7], 0xA9
00000BF8 3F3C 010E move.w -[A7], 0x10E
00000BFC 3F3C 00C9 move.w -[A7], 0xC9
00000C00 3F3C 012E move.w -[A7], 0x12E
00000C04 A8A7 syscall SetRect
00000C06 486E FFF8 pea.l [A6 - 0x8]
00000C0A 486D F23A pea.l [A5 - 0xDC6]
00000C0E A8BB syscall FillOval
00000C10 486E FFF8 pea.l [A6 - 0x8]
00000C14 A8B7 syscall FrameOval
00000C16 486E FFF8 pea.l [A6 - 0x8]
00000C1A 3F3C 00B4 move.w -[A7], 0xB4
00000C1E 3F3C 0119 move.w -[A7], 0x119
00000C22 3F3C 00BE move.w -[A7], 0xBE
00000C26 3F3C 0123 move.w -[A7], 0x123
00000C2A A8A7 syscall SetRect
00000C2C 486E FFF8 pea.l [A6 - 0x8]
00000C30 A8B8 syscall PaintOval
00000C32 286E 0008 movea.l A4, [A6 + 0x8]
00000C36 286C FF18 movea.l A4, [A4 - 0xE8]
00000C3A 486C 0002 pea.l [A4 + 0x2]
00000C3E 286E 0008 movea.l A4, [A6 + 0x8]
00000C42 486C FECE pea.l [A4 - 0x132]
00000C46 286E 0008 movea.l A4, [A6 + 0x8]
00000C4A 486C FEF8 pea.l [A4 - 0x108]
00000C4E 286E 0008 movea.l A4, [A6 + 0x8]
00000C52 486C FED4 pea.l [A4 - 0x12C]
00000C56 4267 clr.w -[A7]
00000C58 42A7 clr.l -[A7]
00000C5A A8EC syscall CopyBits
00000C5C 286E 0008 movea.l A4, [A6 + 0x8]
00000C60 486C FEF8 pea.l [A4 - 0x108]
00000C64 A8A3 syscall EraseRect
00000C66 286E 0008 movea.l A4, [A6 + 0x8]
00000C6A 486C FF08 pea.l [A4 - 0xF8]
00000C6E 3F3C 0099 move.w -[A7], 0x99
00000C72 3F3C 00FE move.w -[A7], 0xFE
00000C76 3F3C 00D9 move.w -[A7], 0xD9
00000C7A 3F3C 013E move.w -[A7], 0x13E
00000C7E A8A7 syscall SetRect
00000C80 286E 0008 movea.l A4, [A6 + 0x8]
00000C84 266E 0008 movea.l A3, [A6 + 0x8]
00000C88 296B FF08 FF00 move.l [A4 - 0x100], [A3 - 0xF8]
00000C8E 296B FF0C FF04 move.l [A4 - 0xFC], [A3 - 0xF4]
00000C94 286E 0008 movea.l A4, [A6 + 0x8]
00000C98 486C FF00 pea.l [A4 - 0x100]
00000C9C 3F3C 0080 move.w -[A7], 0x80
00000CA0 4267 clr.w -[A7]
00000CA2 A8A8 syscall OffsetRect
00000CA4 286E 0008 movea.l A4, [A6 + 0x8]
00000CA8 2F2C FEE0 move.l -[A7], [A4 - 0x120]
00000CAC 3F3C 0099 move.w -[A7], 0x99
00000CB0 3F3C 00FE move.w -[A7], 0xFE
00000CB4 3F3C 00D9 move.w -[A7], 0xD9
00000CB8 3F3C 011E move.w -[A7], 0x11E
00000CBC A8DE syscall SetRecRgn
00000CBE 286E 0008 movea.l A4, [A6 + 0x8]
00000CC2 2F2C FEDC move.l -[A7], [A4 - 0x124]
00000CC6 3F3C 0099 move.w -[A7], 0x99
00000CCA 3F3C 011E move.w -[A7], 0x11E
00000CCE 3F3C 00D9 move.w -[A7], 0xD9
00000CD2 3F3C 013E move.w -[A7], 0x13E
00000CD6 A8DE syscall SetRecRgn
00000CD8 286E 0008 movea.l A4, [A6 + 0x8]
00000CDC 2F2C FEE4 move.l -[A7], [A4 - 0x11C]
00000CE0 3F3C FFF8 move.w -[A7], 0xFFF8
00000CE4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CE8 4EBA F8B6 jsr [PC - 0x74A /* 000005A0 */]
00000CEC 286E 0008 movea.l A4, [A6 + 0x8]
00000CF0 397C FFFA FF14 move.w [A4 - 0xEC], 0xFFFA
00000CF6 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000CFA 4E5E unlink A6
00000CFC 2E9F move.l [A7], [A7]+
00000CFE 4E75 rts
export_1:
00000D00 4E56 FB40 link A6, -0x04C0
00000D04 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
00000D08 286E 0008 movea.l A4, [A6 + 0x8]
00000D0C 2D54 FFF8 move.l [A6 - 0x8], [A4]
00000D10 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
00000D16 486E FFF4 pea.l [A6 - 0xC]
00000D1A A874 syscall GetPort
00000D1C 486E FFF8 pea.l [A6 - 0x8]
00000D20 A870 syscall LocalToGlobal
00000D22 486E FFFC pea.l [A6 - 0x4]
00000D26 A870 syscall LocalToGlobal
00000D28 486E FFD6 pea.l [A6 - 0x2A]
00000D2C 3F3C 000B move.w -[A7], 0xB
00000D30 3F3C 001C move.w -[A7], 0x1C
00000D34 3F3C 01F6 move.w -[A7], 0x1F6
00000D38 3F3C 014C move.w -[A7], 0x14C
00000D3C A8A7 syscall SetRect
00000D3E 486E FFF0 pea.l [A6 - 0x10]
00000D42 A910 syscall GetWMgrPort
00000D44 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000D48 A873 syscall SetPort
00000D4A 486E FFDE pea.l [A6 - 0x22]
00000D4E A898 syscall GetPenState
00000D50 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000D54 A89C syscall PenMode
00000D56 486E FFCE pea.l [A6 - 0x32]
00000D5A 3E2E FFFA move.w D7, [A6 - 0x6]
00000D5E 9E6E FFD8 sub.w D7, [A6 - 0x28]
00000D62 3F07 move.w -[A7], D7
00000D64 3E2E FFF8 move.w D7, [A6 - 0x8]
00000D68 9E6E FFD6 sub.w D7, [A6 - 0x2A]
00000D6C 3F07 move.w -[A7], D7
00000D6E 3E2E FFFE move.w D7, [A6 - 0x2]
00000D72 9E6E FFDC sub.w D7, [A6 - 0x24]
00000D76 3F07 move.w -[A7], D7
00000D78 3E2E FFFC move.w D7, [A6 - 0x4]
00000D7C 9E6E FFDA sub.w D7, [A6 - 0x26]
00000D80 3F07 move.w -[A7], D7
00000D82 A8A7 syscall SetRect
00000D84 598F subq.l A7, 4
00000D86 2F3A 041C move.l -[A7], [PC + 0x41C /* 000011A4, value 0x504B5054 'PKPT', pstring "KPT" */]
00000D8A 3F3C 03EC move.w -[A7], 0x3EC
00000D8E A9A0 syscall GetResource
00000D90 2E1F move.l D7, [A7]+
00000D92 2D47 FFCA move.l [A6 - 0x36], D7
00000D96 2F2E FFCA move.l -[A7], [A6 - 0x36]
00000D9A 4EBA F3D2 jsr [PC - 0xC2E /* 0000016E */]
00000D9E 2D6E FFCA FFC6 move.l [A6 - 0x3A], [A6 - 0x36]
00000DA4 286E FFC6 movea.l A4, [A6 - 0x3A]
00000DA8 2854 movea.l A4, [A4]
00000DAA 3E3C 0001 move.w D7, 0x1
00000DAE 0C47 000F cmpi.w D7, 0xF
00000DB2 6E00 00B8 bgt +0xBA /* 00000E6C */
label00000DB6:
00000DB6 3C07 move.w D6, D7
00000DB8 E74E lsl D6.w, 3
00000DBA 47EE FF44 lea.l A3, [A6 - 0xBC]
00000DBE 3A07 move.w D5, D7
00000DC0 5345 subq.w D5, 1
00000DC2 DA45 add.w D5, D5
00000DC4 45EC 0002 lea.l A2, [A4 + 0x2]
00000DC8 382E FFD0 move.w D4, [A6 - 0x30]
00000DCC C9F2 5000 muls.w D4, [A2 + D5.w]
00000DD0 48C4 ext.l D4
00000DD2 89FC 0064 divs.w D4, 0x64 /* 'd' */
00000DD6 3A2E FFFA move.w D5, [A6 - 0x6]
00000DDA 9A44 sub.w D5, D4
00000DDC 3785 6002 move.w [A3 + D6.w + 0x2], D5
00000DE0 3C07 move.w D6, D7
00000DE2 E74E lsl D6.w, 3
00000DE4 47EE FF44 lea.l A3, [A6 - 0xBC]
00000DE8 3A07 move.w D5, D7
00000DEA 5345 subq.w D5, 1
00000DEC DA45 add.w D5, D5
00000DEE 45EC 0002 lea.l A2, [A4 + 0x2]
00000DF2 382E FFCE move.w D4, [A6 - 0x32]
00000DF6 C9F2 5000 muls.w D4, [A2 + D5.w]
00000DFA 48C4 ext.l D4
00000DFC 89FC 0064 divs.w D4, 0x64 /* 'd' */
00000E00 3A2E FFF8 move.w D5, [A6 - 0x8]
00000E04 9A44 sub.w D5, D4
00000E06 3785 6000 move.w [A3 + D6.w], D5
00000E0A 3C07 move.w D6, D7
00000E0C E74E lsl D6.w, 3
00000E0E 47EE FF44 lea.l A3, [A6 - 0xBC]
00000E12 3A07 move.w D5, D7
00000E14 5345 subq.w D5, 1
00000E16 DA45 add.w D5, D5
00000E18 45EC 0002 lea.l A2, [A4 + 0x2]
00000E1C 382E FFD4 move.w D4, [A6 - 0x2C]
00000E20 C9F2 5000 muls.w D4, [A2 + D5.w]
00000E24 48C4 ext.l D4
00000E26 89FC 0064 divs.w D4, 0x64 /* 'd' */
00000E2A 3A2E FFFE move.w D5, [A6 - 0x2]
00000E2E 9A44 sub.w D5, D4
00000E30 3785 6006 move.w [A3 + D6.w + 0x6], D5
00000E34 3C07 move.w D6, D7
00000E36 E74E lsl D6.w, 3
00000E38 47EE FF44 lea.l A3, [A6 - 0xBC]
00000E3C 3A07 move.w D5, D7
00000E3E 5345 subq.w D5, 1
00000E40 DA45 add.w D5, D5
00000E42 45EC 0002 lea.l A2, [A4 + 0x2]
00000E46 382E FFD2 move.w D4, [A6 - 0x2E]
00000E4A C9F2 5000 muls.w D4, [A2 + D5.w]
00000E4E 48C4 ext.l D4
00000E50 89FC 0064 divs.w D4, 0x64 /* 'd' */
00000E54 3A2E FFFC move.w D5, [A6 - 0x4]
00000E58 9A44 sub.w D5, D4
00000E5A 3785 6004 move.w [A3 + D6.w + 0x4], D5
00000E5E 0C47 000F cmpi.w D7, 0xF
00000E62 6C00 0008 bge +0xA /* 00000E6C */
00000E66 5247 addq.w D7, 1
00000E68 4EFA FF4C jmp [PC - 0xB4 /* 00000DB6 */]
label00000E6C:
00000E6C 2F2E FFCA move.l -[A7], [A6 - 0x36]
00000E70 4EBA F306 jsr [PC - 0xCFA /* 00000178 */]
00000E74 3E3C 0001 move.w D7, 0x1
00000E78 0C47 000F cmpi.w D7, 0xF
00000E7C 6E00 003A bgt +0x3C /* 00000EB8 */
label00000E80:
00000E80 3C07 move.w D6, D7
00000E82 E74E lsl D6.w, 3
00000E84 49EE FF44 lea.l A4, [A6 - 0xBC]
00000E88 4874 6000 pea.l [A4 + D6.w]
00000E8C A8A1 syscall FrameRect
00000E8E 2F3C 0000 0004 move.l -[A7], 0x4
00000E94 486E FF1C pea.l [A6 - 0xE4]
00000E98 4EBA F30C jsr [PC - 0xCF4 /* 000001A6 */]
00000E9C 3C07 move.w D6, D7
00000E9E E74E lsl D6.w, 3
00000EA0 49EE FF44 lea.l A4, [A6 - 0xBC]
00000EA4 4874 6000 pea.l [A4 + D6.w]
00000EA8 A8A1 syscall FrameRect
00000EAA 0C47 000F cmpi.w D7, 0xF
00000EAE 6C00 0008 bge +0xA /* 00000EB8 */
00000EB2 5247 addq.w D7, 1
00000EB4 4EFA FFCA jmp [PC - 0x36 /* 00000E80 */]
label00000EB8:
00000EB8 486E FFDE pea.l [A6 - 0x22]
00000EBC A899 syscall SetPenState
00000EBE 598F subq.l A7, 4
00000EC0 42A7 clr.l -[A7]
00000EC2 486E FFD6 pea.l [A6 - 0x2A]
00000EC6 487A 02DA pea.l [PC + 0x2DA /* 000011A2, value 0x504B 'PK', cstring "" */]
00000ECA 1F3C 0001 move.b -[A7], 0x1
00000ECE 3F3C 0001 move.w -[A7], 0x1
00000ED2 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00000ED8 4227 clr.b -[A7]
00000EDA 42A7 clr.l -[A7]
00000EDC A913 syscall NewWindow
00000EDE 2E1F move.l D7, [A7]+
00000EE0 2D47 FF18 move.l [A6 - 0xE8], D7
00000EE4 2F2E FF18 move.l -[A7], [A6 - 0xE8]
00000EE8 A873 syscall SetPort
00000EEA 4267 clr.w -[A7]
00000EEC A887 syscall TextFont
00000EEE 3F3C 000C move.w -[A7], 0xC
00000EF2 A88A syscall TextSize
00000EF4 598F subq.l A7, 4
00000EF6 2F3A 02A6 move.l -[A7], [PC + 0x2A6 /* 0000119E, value 0x504B5054 'PKPT', cstring "PKPT" */]
00000EFA 3F2D FFFA move.w -[A7], [A5 - 0x6]
00000EFE A9A0 syscall GetResource
00000F00 2E1F move.l D7, [A7]+
00000F02 2D47 FF40 move.l [A6 - 0xC0], D7
00000F06 2F2E FF40 move.l -[A7], [A6 - 0xC0]
00000F0A 4EBA F262 jsr [PC - 0xD9E /* 0000016E */]
00000F0E 486E FF38 pea.l [A6 - 0xC8]
00000F12 3F3C 0014 move.w -[A7], 0x14
00000F16 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000F1A 3F3C 01D6 move.w -[A7], 0x1D6
00000F1E 3F3C 00FA move.w -[A7], 0xFA
00000F22 A8A7 syscall SetRect
00000F24 598F subq.l A7, 4
00000F26 2F2E FF40 move.l -[A7], [A6 - 0xC0]
00000F2A 4EBA F22E jsr [PC - 0xDD2 /* 0000015A */]
00000F2E 2E1F move.l D7, [A7]+
00000F30 3D47 FF26 move.w [A6 - 0xDA], D7
00000F34 286E FF40 movea.l A4, [A6 - 0xC0]
00000F38 2F14 move.l -[A7], [A4]
00000F3A 3E2E FF26 move.w D7, [A6 - 0xDA]
00000F3E 48C7 ext.l D7
00000F40 2F07 move.l -[A7], D7
00000F42 486E FF38 pea.l [A6 - 0xC8]
00000F46 3F3C 0001 move.w -[A7], 0x1
00000F4A A9CE syscall TETextBox/TextBox
00000F4C 2F2E FF40 move.l -[A7], [A6 - 0xC0]
00000F50 4EBA F226 jsr [PC - 0xDDA /* 00000178 */]
00000F54 2F0E move.l -[A7], A6
00000F56 4EBA FBE0 jsr [PC - 0x420 /* 00000B38 */]
00000F5A 3F3C 0004 move.w -[A7], 0x4
00000F5E 2F0E move.l -[A7], A6
00000F60 4EBA FB46 jsr [PC - 0x4BA /* 00000AA8 */]
00000F64 2F0E move.l -[A7], A6
00000F66 4EBA FA56 jsr [PC - 0x5AA /* 000009BE */]
00000F6A 422E FF22 clr.b [A6 - 0xDE]
00000F6E 422E FF20 clr.b [A6 - 0xE0]
00000F72 598F subq.l A7, 4
00000F74 A975 syscall TickCount
00000F76 2E1F move.l D7, [A7]+
00000F78 0687 0000 0258 addi.l D7, 0x258
00000F7E 2D47 FF1C move.l [A6 - 0xE4], D7
label00000F82:
00000F82 558F subq.l A7, 2
00000F84 A861 syscall Random
00000F86 3E1F move.w D7, [A7]+
00000F88 48C7 ext.l D7
00000F8A 8FFC 0004 divs.w D7, 0x4
00000F8E 4847 swap.w D7
00000F90 3D47 FF16 move.w [A6 - 0xEA], D7
00000F94 4EFA 002A jmp [PC + 0x2A /* 00000FC0 */]
label00000F98:
00000F98 2F0E move.l -[A7], A6
00000F9A 4EBA F90E jsr [PC - 0x6F2 /* 000008AA */]
00000F9E 4EFA 0044 jmp [PC + 0x44 /* 00000FE4 */]
label00000FA2:
00000FA2 2F0E move.l -[A7], A6
00000FA4 4EBA F98E jsr [PC - 0x672 /* 00000934 */]
00000FA8 4EFA 003A jmp [PC + 0x3A /* 00000FE4 */]
label00000FAC:
00000FAC 2F0E move.l -[A7], A6
00000FAE 4EBA F7E6 jsr [PC - 0x81A /* 00000796 */]
00000FB2 4EFA 0030 jmp [PC + 0x30 /* 00000FE4 */]
label00000FB6:
00000FB6 2F0E move.l -[A7], A6
00000FB8 4EBA F866 jsr [PC - 0x79A /* 00000820 */]
00000FBC 4EFA 0026 jmp [PC + 0x26 /* 00000FE4 */]
label00000FC0:
00000FC0 3E2E FF16 move.w D7, [A6 - 0xEA]
00000FC4 0C47 0000 cmpi.w D7, 0x0
00000FC8 6700 FFCE beq -0x30 /* 00000F98 */
00000FCC 0C47 0001 cmpi.w D7, 0x1
00000FD0 6700 FFD0 beq -0x2E /* 00000FA2 */
00000FD4 0C47 0002 cmpi.w D7, 0x2
00000FD8 6700 FFD2 beq -0x2C /* 00000FAC */
00000FDC 0C47 0003 cmpi.w D7, 0x3
00000FE0 6700 FFD4 beq -0x2A /* 00000FB6 */
label00000FE4:
00000FE4 1E2E FF20 move.b D7, [A6 - 0xE0]
00000FE8 0A07 0001 xori.b D7, 0x1
00000FEC 598F subq.l A7, 4
00000FEE A975 syscall TickCount
00000FF0 2C1F move.l D6, [A7]+
00000FF2 BCAE FF1C cmp.l D6, [A6 - 0xE4]
00000FF6 5EC6 sgt D6
00000FF8 4406 neg.b D6
00000FFA CC07 and.b D6, D7
00000FFC 6700 0044 beq +0x46 /* 00001042 */
00001000 1D7C 0001 FF20 move.b [A6 - 0xE0], 0x1
00001006 486E FF2C pea.l [A6 - 0xD4]
0000100A 3F3C 0190 move.w -[A7], 0x190
0000100E 3F3C 0114 move.w -[A7], 0x114
00001012 3F3C 01E0 move.w -[A7], 0x1E0
00001016 3F3C 0128 move.w -[A7], 0x128
0000101A A8A7 syscall SetRect
0000101C 598F subq.l A7, 4
0000101E 2F2E FF18 move.l -[A7], [A6 - 0xE8]
00001022 486E FF2C pea.l [A6 - 0xD4]
00001026 487A 016C pea.l [PC + 0x16C /* 00001194, value 0x8436F6E, pstring "Continue" */]
0000102A 1F3C 0001 move.b -[A7], 0x1
0000102E 4267 clr.w -[A7]
00001030 4267 clr.w -[A7]
00001032 3F3C 0001 move.w -[A7], 0x1
00001036 4267 clr.w -[A7]
00001038 42A7 clr.l -[A7]
0000103A A954 syscall NewControl
0000103C 2E1F move.l D7, [A7]+
0000103E 2D47 FF34 move.l [A6 - 0xCC], D7
label00001042:
00001042 558F subq.l A7, 2
00001044 3F3C 0002 move.w -[A7], 0x2
00001048 486D F256 pea.l [A5 - 0xDAA]
0000104C A970 syscall GetNextEvent
0000104E 1E1F move.b D7, [A7]+
00001050 CE2E FF20 and.b D7, [A6 - 0xE0]
00001054 6700 0034 beq +0x36 /* 0000108A */
00001058 2D6D F260 FF28 move.l [A6 - 0xD8], [A5 - 0xDA0]
0000105E 486E FF28 pea.l [A6 - 0xD8]
00001062 A871 syscall GlobalToLocal
00001064 558F subq.l A7, 2
00001066 2F2E FF34 move.l -[A7], [A6 - 0xCC]
0000106A 2F2E FF28 move.l -[A7], [A6 - 0xD8]
0000106E A966 syscall TestControl
00001070 3E1F move.w D7, [A7]+
00001072 0C47 000A cmpi.w D7, 0xA /* '\n' */
00001076 6600 0012 bne +0x14 /* 0000108A */
0000107A 1D7C 0001 FF22 move.b [A6 - 0xDE], 0x1
00001080 2F2E FF34 move.l -[A7], [A6 - 0xCC]
00001084 3F3C 000A move.w -[A7], 0xA /* '\n' */
00001088 A95D syscall HiliteControl
label0000108A:
0000108A 4A2E FF22 tst.b [A6 - 0xDE]
0000108E 6700 FEF2 beq -0x10C /* 00000F82 */
00001092 2F0E move.l -[A7], A6
00001094 4EBA F928 jsr [PC - 0x6D8 /* 000009BE */]
00001098 2F0E move.l -[A7], A6
0000109A 4EBA F9C2 jsr [PC - 0x63E /* 00000A5E */]
0000109E 3F3C 000A move.w -[A7], 0xA /* '\n' */
000010A2 2F0E move.l -[A7], A6
000010A4 4EBA FA50 jsr [PC - 0x5B0 /* 00000AF6 */]
000010A8 3F3C 000A move.w -[A7], 0xA /* '\n' */
000010AC 2F0E move.l -[A7], A6
000010AE 4EBA F9F8 jsr [PC - 0x608 /* 00000AA8 */]
000010B2 2F3C 0000 0006 move.l -[A7], 0x6
000010B8 486E FF1C pea.l [A6 - 0xE4]
000010BC 4EBA F0E8 jsr [PC - 0xF18 /* 000001A6 */]
000010C0 2F0E move.l -[A7], A6
000010C2 4EBA F99A jsr [PC - 0x666 /* 00000A5E */]
000010C6 2F0E move.l -[A7], A6
000010C8 4EBA F994 jsr [PC - 0x66C /* 00000A5E */]
000010CC 3F3C 0004 move.w -[A7], 0x4
000010D0 2F0E move.l -[A7], A6
000010D2 4EBA FA22 jsr [PC - 0x5DE /* 00000AF6 */]
000010D6 2F2E FF18 move.l -[A7], [A6 - 0xE8]
000010DA A916 syscall HideWindow
000010DC 558F subq.l A7, 2
000010DE 3F3C 0100 move.w -[A7], 0x100
000010E2 486D F256 pea.l [A5 - 0xDAA]
000010E6 A970 syscall GetNextEvent
000010E8 1E1F move.b D7, [A7]+
000010EA 6700 0006 beq +0x8 /* 000010F2 */
000010EE 4EAD 024A jsr [A5 + 0x24A /* export_69 */]
label000010F2:
000010F2 558F subq.l A7, 2
000010F4 3F3C 0100 move.w -[A7], 0x100
000010F8 486D F256 pea.l [A5 - 0xDAA]
000010FC A970 syscall GetNextEvent
000010FE 1E1F move.b D7, [A7]+
00001100 6700 0006 beq +0x8 /* 00001108 */
00001104 4EAD 024A jsr [A5 + 0x24A /* export_69 */]
label00001108:
00001108 558F subq.l A7, 2
0000110A 3F3C 0040 move.w -[A7], 0x40 /* '@' */
0000110E 486D F256 pea.l [A5 - 0xDAA]
00001112 A970 syscall GetNextEvent
00001114 1E1F move.b D7, [A7]+
00001116 6700 000A beq +0xC /* 00001122 */
0000111A 4EAD 02A2 jsr [A5 + 0x2A2 /* export_80 */]
0000111E 4EFA FFE8 jmp [PC - 0x18 /* 00001108 */]
label00001122:
00001122 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00001126 A873 syscall SetPort
00001128 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000112C A89C syscall PenMode
0000112E 3E3C 000F move.w D7, 0xF
00001132 0C47 0001 cmpi.w D7, 0x1
00001136 6D00 003A blt +0x3C /* 00001172 */
label0000113A:
0000113A 3C07 move.w D6, D7
0000113C E74E lsl D6.w, 3
0000113E 49EE FF44 lea.l A4, [A6 - 0xBC]
00001142 4874 6000 pea.l [A4 + D6.w]
00001146 A8A1 syscall FrameRect
00001148 2F3C 0000 0004 move.l -[A7], 0x4
0000114E 486E FF1C pea.l [A6 - 0xE4]
00001152 4EBA F052 jsr [PC - 0xFAE /* 000001A6 */]
00001156 3C07 move.w D6, D7
00001158 E74E lsl D6.w, 3
0000115A 49EE FF44 lea.l A4, [A6 - 0xBC]
0000115E 4874 6000 pea.l [A4 + D6.w]
00001162 A8A1 syscall FrameRect
00001164 0C47 0001 cmpi.w D7, 0x1
00001168 6F00 0008 ble +0xA /* 00001172 */
0000116C 5347 subq.w D7, 1
0000116E 4EFA FFCA jmp [PC - 0x36 /* 0000113A */]
label00001172:
00001172 486E FFDE pea.l [A6 - 0x22]
00001176 A899 syscall SetPenState
00001178 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000117C A873 syscall SetPort
0000117E 2F2E FF34 move.l -[A7], [A6 - 0xCC]
00001182 A955 syscall DisposeControl
00001184 2F2E FF18 move.l -[A7], [A6 - 0xE8]
00001188 A914 syscall DisposeWindow
0000118A 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
0000118E 4E5E unlink A6
00001190 2E9F move.l [A7], [A7]+
00001192 4E75 rts
00001194 0843 6F6E bchg.b D3, 0x6E /* 'n' */
00001198 7469 moveq.l D2, 0x69
0000119A 6E75 bgt +0x77 /* 00001211 */
0000119C 6500 504B bcs +0x504D /* 000061E9 */
000011A0 5054 addq.w [A4], 8
000011A2 0000 504B ori.b D0, 0x4B /* 'K' */
000011A6 5054 addq.w [A4], 8